package hardwareToSQL.pruningAlgorithm;


public class PruningTheshold implements Pruning{

	private double threshold;
	private double value;
	
	public PruningTheshold(double threshold){
		this.threshold = threshold;
		this.value = 0;
	}
	
	public void insertValue(double value){
		if(value < threshold){
			this.value = value;
		}
	}
	
	public double returnValue(){
		return this.value;
	}
	
}
